var ec_right1 = echarts.init(document.getElementById('right1'), "dark");

ec_r1_option = {
  title: [
    {
      text: '问诊人数前十的医院',
      left: 'center'
    }
  ],
  toolbox: {
    show: true,
    itemSize:18,
    itemGap:12,
    feature: {
      dataView: { show: true, readOnly: false },
      restore: { show: true },
      saveAsImage: { show: true }
    },
    right:"10%"
  },
  xAxis: [{
    type: 'category',
    data: [],
    axisLabel: {
      interval: 0,
      rotate:340
  }
  }],
  yAxis: [{
    type: 'value'
  }],
  series: [
    {
      data: [],//[120, 200, 150, 80, 70, 110, 130],
      type: 'bar'
    }
  ]
};
ec_right1.setOption(ec_r1_option);